package com.sjp.myspring.beans.factory;

public interface JPBeanFactory {

    /**
     * 根据beanName从IOC容器中获取一个实例bean
     *
     * @param beanName
     * @return
     */
    Object getBean(String beanName) throws Exception;

    Object getBean(Class<?> clazz) throws Exception;

    String[] getBeanDefinitionNames();

    int getBeanDefinitionCount();
}
